package com.chaosj.skill.zipkin.interceptor

import brave.propagation.Propagation

/**
 * @Description:
 * @author: caoyangjie
 * @date: 2019年12月2019/12/6日 09:36
 * @Copyright: © 赢时胜
 */
class HttpUrlConnectionInterceptor extends AbstractTraceInterceptor<HttpURLConnection>{
    @Override
    Propagation.Setter<HttpURLConnection, String> getSetter() {
        {carrier, key, value-> carrier.addRequestProperty(key,value)}
    }
}
